﻿Public Class NhanVienDto
    Dim _MaNhanVien As Integer
    Dim _TenDangNhap As String
    Dim _MatKhau As String
    Dim _HoTen As String
    Dim _NgaySinh As Date
    Dim _GioiTinh As Integer
    Dim _DiaChi As String
    Dim _DienThoai As String
    Dim _LoaiNhanVien As Integer

    Sub New()
        _MaNhanVien = 0
        _TenDangNhap = ""
        _MatKhau = ""
        _HoTen = ""
        _DiaChi = ""
        _DienThoai = ""
        _LoaiNhanVien = -1
        _GioiTinh = 0
        _NgaySinh = New DateTime(1, 1, 1)
    End Sub

    Public Property MaNhanVien()
        Get
            Return _MaNhanVien
        End Get
        Set(ByVal value)
            _MaNhanVien = value
        End Set
    End Property

    Public Property TenDangNhap()
        Get
            Return _TenDangNhap
        End Get
        Set(ByVal value)
            _TenDangNhap = value
        End Set
    End Property

    Public Property MatKhau()
        Get
            Return _MatKhau
        End Get
        Set(ByVal value)
            _MatKhau = value
        End Set
    End Property

    Public Property HoTen()
        Get
            Return _HoTen
        End Get
        Set(ByVal value)
            _HoTen = value
        End Set
    End Property

    Public Property NgaySinh() As Date
        Get
            Return _NgaySinh
        End Get
        Set(ByVal value As Date)
            _NgaySinh = value
        End Set
    End Property

    Public Property GioiTinh()
        Get
            Return _GioiTinh
        End Get
        Set(ByVal value)
            _GioiTinh = value
        End Set
    End Property

    Public Property DiaChi()
        Get
            Return _DiaChi
        End Get
        Set(ByVal value)
            _DiaChi = value
        End Set
    End Property

    Public Property DienThoai()
        Get
            Return _DienThoai
        End Get
        Set(ByVal value)
            _DienThoai = value
        End Set
    End Property

    Public Property LoaiNhanVien()
        Get
            Return _LoaiNhanVien
        End Get
        Set(ByVal value)
            _LoaiNhanVien = value
        End Set
    End Property
End Class
